mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 12:02:41 +00:00
Added visibility in some methods and attributes.
This commit is contained in:
parent
16ef234180
commit
0575e92833
16 changed files with 27 additions and 27 deletions
|
@ -263,7 +263,7 @@ class DbAcl extends Object implements AclInterface {
|
|||
* Constructor
|
||||
*
|
||||
*/
|
||||
function __construct() {
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
App::uses('AclNode', 'Model');
|
||||
$this->Aro = ClassRegistry::init(array('class' => 'Aro', 'alias' => 'Aro'));
|
||||
|
|
|
@ -27,7 +27,7 @@ App::uses('BaseAuthenticate', 'Controller/Component/Auth');
|
|||
*
|
||||
* In your controller's components array, add auth + the required settings.
|
||||
* {{{
|
||||
* var $components = array(
|
||||
* public $components = array(
|
||||
* 'Auth' => array(
|
||||
* 'authenticate' => array('Basic')
|
||||
* )
|
||||
|
|
|
@ -30,7 +30,7 @@ App::uses('BaseAuthenticate', 'Controller/Component/Auth');
|
|||
*
|
||||
* In your controller's components array, add auth + the required settings.
|
||||
* {{{
|
||||
* var $components = array(
|
||||
* public $components = array(
|
||||
* 'Auth' => array(
|
||||
* 'authenticate' => array('Digest')
|
||||
* )
|
||||
|
|
|
@ -98,7 +98,7 @@ class EmailComponent extends Component {
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
var $date = null;
|
||||
public $date = null;
|
||||
|
||||
/**
|
||||
* The subject of the email
|
||||
|
|
|
@ -90,7 +90,7 @@ class RequestHandlerComponent extends Component {
|
|||
* @param ComponentCollection $collection ComponentCollection object.
|
||||
* @param array $settings Array of settings.
|
||||
*/
|
||||
function __construct(ComponentCollection $collection, $settings = array()) {
|
||||
public function __construct(ComponentCollection $collection, $settings = array()) {
|
||||
$this->addInputType('xml', array(array($this, '_convertXml')));
|
||||
parent::__construct($collection, $settings);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue