This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# AllowOverride controls what directives may be placed in .htaccess files. | |
# It can be "All", "None", or any combination of the keywords: | |
# Options FileInfo AuthConfig Limit | |
# | |
AllowOverride All |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# AllowOverride controls what directives may be placed in .htaccess files. | |
# It can be "All", "None", or any combination of the keywords: | |
# Options FileInfo AuthConfig Limit | |
# | |
AllowOverride None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ini adalah method __construct dari class "ClassSaya". | |
Fatal error: Call to private method ClassSaya::getProperty() from context 'ClassLain' in /Library/WebServer/Documents/oop_latihan/latihan.php on line 38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ini adalah method __construct dari class "ClassSaya". | |
Catchable fatal error: Object of class ClassSaya could not be converted to string in /Library/WebServer/Documents/oop_latihan/latihan.php on line 31 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* disini kita menjelaskan class | |
* dan semua penjelasan yang dapat membantu | |
* untuk mengetahui kegunaan class ini | |
* | |
* @author Sukma Saputra swsaputra@email.com | |
* @copyright 2012 kotakku studio and lab | |
* @license http://www.php.net/license/3_01.txt PHP License 3.01 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* class pertama | |
*/ | |
class ClassSaya { | |
public $prop1 = 'Saya properti pertama!'; | |
public static count = 0; //...properties static | |
/* method __construct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* class pertama | |
*/ | |
class ClassSaya { | |
public $prop1 = 'Saya properti pertama!'; | |
/* method __construct | |
*/ | |
public function __construct() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* class pertama | |
*/ | |
class ClassSaya { | |
public $prop1 = 'Saya properti pertama!'; | |
/* method __construct | |
*/ | |
public function __construct() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* class pertama | |
*/ | |
class ClassSaya { | |
public $prop1 = 'Saya properti pertama!'; | |
/* method __construct | |
*/ | |
public function __construct() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* class pertama | |
*/ | |
class ClassSaya { | |
//...properties | |
public $prop1 = 'Saya properti pertama!'; | |
/* method __construct | |
*/ | |
public function __construct() { |