Please enable JavaScript.
Coggle requires JavaScript to display documents.
CLASS (modifiers (public (var), modifikatori (pristupa), private,…
CLASS
modifiers
private
protected
public
var
visibility
modifikatori
pristupa
constructors
$this
keyword
refer
current
object
function __construct () {}
only
1
nije
obavezan
ranije
kao
ime
klase
methods
functions
getters
setters
private
specification
blueprint
for
creating
objects
custom
variable
$book1 = new Book;
object
instance
uništavanje
unset
__destruct ()
copying
__clone()
or
clone
keyword
$book->title
dot
JS
atributes
properties
polja
declaring
value
not
expession
can
with
array
simple
static
bez
instanciranje
poziv
mojaKlasa::staticMethod ()
mojaKlasa::$staticVar
inheritance
extends
overriding
special
__
class Book {}