Added visibility in some methods and attributes.

This commit is contained in:
Juan Basso 2011-08-18 22:16:16 -04:00
parent 16ef234180
commit 0575e92833
16 changed files with 27 additions and 27 deletions

View file

@ -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'));

View file

@ -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')
* )

View file

@ -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')
* )

View file

@ -98,7 +98,7 @@ class EmailComponent extends Component {
*
* @var string
*/
var $date = null;
public $date = null;
/**
* The subject of the email

View file

@ -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);
}