All the Laravel things: up and running to making $$
Francesco abeni joomla_extensions_best_practices
1. Francesco Abeni
Sviluppo di estensioni per
Joomla: BEST PRACTICES
@f_abeni
http://www.gibilogic.com
Francesco Abeni
Sviluppo di estensioni per
Joomla: BEST PRACTICES
@f_abeni
http://www.gibilogic.com
24. public function __construct(...) {
JLog::addLogger(
array(
“text_file” => “jfestival.talks.log.php”
),
JLog::ALL,
'jfestival.talks'
);
}
25. public function whatever(...) {
JLog::add(
'A debug message',
JLog::DEBUG, 'jfestival.talks'
);
JLog::add(
'An info message',
JLog::INFO, 'jfestival.talks'
);
}
27. public function get($id) { … }
protected function buildQuery() { … }
private function getName() { … }
public $id; // “$object→id” funziona
vs.
private $id; // “$object→id” NON funziona
public function getId() { return $this→id; }