Declare undeclared vars and methods
This commit is contained in:
parent
84afbeed24
commit
803fedc1c2
12 changed files with 80 additions and 0 deletions
|
@ -34,6 +34,11 @@ class PDOBasicAuth extends \Sabre\DAV\Auth\Backend\AbstractBasic {
|
|||
*/
|
||||
protected $authRealm;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $currentUser;
|
||||
|
||||
/**
|
||||
* Creates the backend object.
|
||||
*
|
||||
|
|
|
@ -29,6 +29,16 @@ namespace BaikalAdmin\Controller\Settings;
|
|||
|
||||
class Standard extends \Flake\Core\Controller {
|
||||
|
||||
/**
|
||||
* @var \Baikal\Model\Config\Standard
|
||||
*/
|
||||
private $oModel;
|
||||
|
||||
/**
|
||||
* @var \Formal\Form
|
||||
*/
|
||||
private $oForm;
|
||||
|
||||
function execute() {
|
||||
$this->oModel = new \Baikal\Model\Config\Standard(PROJECT_PATH_SPECIFIC . "config.php");
|
||||
|
||||
|
|
|
@ -29,6 +29,16 @@ namespace BaikalAdmin\Controller\Settings;
|
|||
|
||||
class System extends \Flake\Core\Controller {
|
||||
|
||||
/**
|
||||
* @var \Baikal\Model\Config\System
|
||||
*/
|
||||
private $oModel;
|
||||
|
||||
/**
|
||||
* @var \Formal\Form
|
||||
*/
|
||||
private $oForm;
|
||||
|
||||
function execute() {
|
||||
$this->oModel = new \Baikal\Model\Config\System(PROJECT_PATH_SPECIFIC . "config.system.php");
|
||||
|
||||
|
|
|
@ -31,6 +31,16 @@ class Users extends \Flake\Core\Controller {
|
|||
|
||||
protected $aMessages = [];
|
||||
|
||||
/**
|
||||
* @var \Baikal\Model\User
|
||||
*/
|
||||
private $oModel;
|
||||
|
||||
/**
|
||||
* @var \Formal\Form
|
||||
*/
|
||||
private $oForm;
|
||||
|
||||
function execute() {
|
||||
if ($this->actionEditRequested()) {
|
||||
$this->actionEdit();
|
||||
|
|
|
@ -29,6 +29,11 @@ namespace Flake\Controller;
|
|||
|
||||
class Cli extends \Flake\Core\Render\Container {
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $aArgs;
|
||||
|
||||
function render() {
|
||||
$this->sys_init();
|
||||
$this->init();
|
||||
|
|
|
@ -29,6 +29,11 @@ namespace Flake\Controller;
|
|||
|
||||
class HtmlBlock extends \Flake\Core\Controller {
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $sHtml;
|
||||
|
||||
function __construct($sHtml) {
|
||||
$this->sHtml = $sHtml;
|
||||
}
|
||||
|
|
|
@ -29,6 +29,16 @@ namespace Flake\Controller;
|
|||
|
||||
class HtmlBlockTemplated extends \Flake\Core\Controller {
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $sTemplatePath;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $aMarkers;
|
||||
|
||||
function __construct($sTemplatePath, $aMarkers = []) {
|
||||
$this->sTemplatePath = $sTemplatePath;
|
||||
$this->aMarkers = $aMarkers;
|
||||
|
|
|
@ -34,6 +34,11 @@ class Page extends \Flake\Core\Render\Container {
|
|||
protected $sMetaDescription = "";
|
||||
protected $sTemplatePath = "";
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $sBaseUrl;
|
||||
|
||||
function __construct($sTemplatePath) {
|
||||
$this->sTemplatePath = $sTemplatePath;
|
||||
}
|
||||
|
|
|
@ -29,6 +29,11 @@ namespace Flake\Core;
|
|||
|
||||
abstract class Database extends \Flake\Core\FLObject {
|
||||
|
||||
private $debugOutput;
|
||||
private $debug_lastBuiltQuery;
|
||||
private $store_lastBuiltQuery;
|
||||
private $oDb;
|
||||
|
||||
/* common stuff */
|
||||
|
||||
protected function messageAndDie($sMessage) {
|
||||
|
|
|
@ -29,6 +29,11 @@ namespace Flake\Core;
|
|||
|
||||
abstract class PostConnectionService extends \Flake\Core\FLObject {
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $aParams;
|
||||
|
||||
function __construct($aParams = []) {
|
||||
$this->aParams = $aParams;
|
||||
}
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
namespace Flake\Core\Render;
|
||||
|
||||
class Zone extends \Flake\Core\FLObject {
|
||||
private $oZonableObject;
|
||||
private $sZone;
|
||||
|
||||
function __construct(&$oZonableObject, $sZone) {
|
||||
$this->oZonableObject = & $oZonableObject;
|
||||
$this->sZone = $sZone;
|
||||
|
|
|
@ -28,6 +28,12 @@
|
|||
namespace Flake\Core;
|
||||
|
||||
abstract class Requester extends \Flake\Core\FLObject {
|
||||
protected $sModelClass = '';
|
||||
protected $sOrderField = '';
|
||||
protected $sOrderDirection = 'ASC';
|
||||
protected $iLimitStart = false;
|
||||
protected $iLimitNumber = false;
|
||||
|
||||
function __construct($sModelClass) {
|
||||
$this->sModelClass = $sModelClass;
|
||||
}
|
||||
|
@ -61,6 +67,7 @@ abstract class Requester extends \Flake\Core\FLObject {
|
|||
return $this;
|
||||
}
|
||||
|
||||
abstract function addClauseEquals($sField, $sValue);
|
||||
abstract function execute();
|
||||
abstract function count();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue