public function __construct() { parent::__construct(); $this->model = new Models\Statistics(); $this->title = 'Site stats'; $this->icon = 'bar-chart'; }
public function __construct($modelId) { parent::__construct($modelId); $this->model = new Models\TagCollection($modelId); $this->title = $this->model->query; $this->icon = 'tags'; }
public function __construct($modelId) { parent::__construct(); $this->model = new Models\Search($modelId); $this->title = $this->model->query; $this->icon = 'search'; $this->url = self::getUrlForID($modelId); }
public function __construct($path = '/') { parent::__construct(); $this->model = new Models\Folder($path); $this->title = basename($this->model->path); $this->icon = 'folder'; $this->url = self::getUrlForID($this->model->path); $this->image = constant('BASE_URL') . '/assets/folder.png'; $this->imageType = 'image/png'; }
public function __construct($modelId) { parent::__construct($modelId); $this->model = new Models\Tag($modelId); $this->title = $this->model->query; $this->icon = 'tag'; $photo = $this->model->getPoster(); $this->image = $photo->getMediaURL('thumbnail'); $this->imageType = 'image/jpeg'; $this->imageWidth = $photo->get('tn_width'); $this->imageHeight = $photo->get('tn_height'); }
public function handlePost($get, $post, $files, $cookies) { $currentUser = Models\User::currentUser($cookies); switch ($post['action']) { case 'favorite': $this->model->favoriteByUser($currentUser); break; case 'unfavorite': $this->model->unfavoriteByUser($currentUser); break; } parent::handlePost($get, $post, $files, $cookies); }
public function __construct() { parent::__construct(); $this->title = 'Comments viewer'; $this->icon = 'list'; }
public function __construct() { parent::__construct(); $this->title = 'Admin Thumbnails'; $this->icon = 'list'; }
public function __construct() { parent::__construct(); $this->title = 'Rescan photos'; $this->icon = 'search'; }
public function __construct($modelId) { parent::__construct(); $this->title = 'Login'; }
public function __construct() { parent::__construct(); $this->title = 'Admin File Store'; $this->icon = 'bar-chart'; }
public function __construct() { parent::__construct(); $this->title = 'Site administration'; $this->icon = 'bar-chart'; }
public function __construct() { parent::__construct(); $this->title = 'Review New photos'; $this->icon = 'list'; }
public function __construct() { parent::__construct(); $this->title = 'Admin Appearance'; $this->icon = 'bar-chart'; }