当前位置: 首页>>代码示例>>PHP>>正文


PHP AbstractObject::__construct方法代码示例

本文整理汇总了PHP中AbstractObject::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP AbstractObject::__construct方法的具体用法?PHP AbstractObject::__construct怎么用?PHP AbstractObject::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AbstractObject的用法示例。


在下文中一共展示了AbstractObject::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($array = null, $success = true)
 {
     parent::__construct($array, $success);
     $this->authenticated = false;
     $this->verified = false;
     $this->ibssoToken = '';
 }
开发者ID:kelvinmbwilo,项目名称:cervical,代码行数:7,代码来源:OneApiAuthentication.class.php

示例2: __construct

 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes = [])
 {
     parent::__construct($attributes);
     $this->setAttribute('value', 0);
     $this->setValueIfAttributeExists('SCRIPT', 1);
     $this->setValueIfAttributeExists('ACCOUNTDISABLE', 2);
     $this->setValueIfAttributeExists('HOMEDIR_REQUIRED', 8);
     $this->setValueIfAttributeExists('LOCKOUT', 16);
     $this->setValueIfAttributeExists('PASSWD_NOTREQD', 32);
     $this->setValueIfAttributeExists('ENCRYPTED_TEXT_PWD_ALLOWED', 128);
     $this->setValueIfAttributeExists('TEMP_DUPLICATE_ACCOUNT', 256);
     $this->setValueIfAttributeExists('NORMAL_ACCOUNT', 512);
     $this->setValueIfAttributeExists('INTERDOMAIN_TRUST_ACCOUNT', 2048);
     $this->setValueIfAttributeExists('WORKSTATION_TRUST_ACCOUNT', 4096);
     $this->setValueIfAttributeExists('SERVER_TRUST_ACCOUNT', 8192);
     $this->setValueIfAttributeExists('DONT_EXPIRE_PASSWORD', 65536);
     $this->setValueIfAttributeExists('MNS_LOGON_ACCOUNT', 131072);
     $this->setValueIfAttributeExists('SMARTCARD_REQUIRED', 262144);
     $this->setValueIfAttributeExists('TRUSTED_FOR_DELEGATION', 524288);
     $this->setValueIfAttributeExists('NOT_DELEGATED', 1048576);
     $this->setValueIfAttributeExists('USE_DES_KEY_ONLY', 2097152);
     $this->setValueIfAttributeExists('DONT_REQ_PREAUTH', 4194304);
     $this->setValueIfAttributeExists('PASSWORD_EXPIRED', 8388608);
     $this->setValueIfAttributeExists('TRUSTED_TO_AUTH_FOR_DELEGATION', 16777216);
 }
开发者ID:HarkiratGhotra,项目名称:application,代码行数:30,代码来源:AccountControl.php

示例3: __construct

    public function __construct() {
        parent::__construct();
        $parameters = $this->initiateParameters();
        $this->checkParameters($parameters);

        $this->parameters = $parameters;
    }
开发者ID:reisystems-india,项目名称:GovDashboard-Community,代码行数:7,代码来源:AbstractOperatorHandler.php

示例4: __construct

 public function __construct($name, $publicName = NULL, $required = TRUE, $defaultValue = NULL) {
     parent::__construct();
     $this->name = $name;
     $this->publicName = t(isset($publicName) ? $publicName : $name);
     $this->required = $required;
     $this->defaultValue = $defaultValue;
 }
开发者ID:reisystems-india,项目名称:GovDashboard-Community,代码行数:7,代码来源:OperatorHandler.php

示例5: __construct

 public function __construct($propertyName, $isSortAscending = TRUE)
 {
     parent::__construct();
     $this->propertyName = $propertyName;
     $this->isSortAscending = $isSortAscending;
     $this->checkPropertyName();
 }
开发者ID:ecs-hk,项目名称:Checkbook,代码行数:7,代码来源:PropertyBasedComparator.php

示例6: __construct

 public function __construct($nType, $sSource, $nPostion = 0, $nLine = 0)
 {
     parent::__construct($sSource, $nPostion, $nLine);
     $this->nType = $nType;
     $this->setTokenType($nType);
     $this->sType = $this->tokenTypeName();
 }
开发者ID:JeCat,项目名称:framework,代码行数:7,代码来源:Token.php

示例7: __construct

 public function __construct(AbstractObject $parent, $name = null, $url = null, $email = null)
 {
     parent::__construct($parent);
     $this->name = empty($name) ? null : $name;
     $this->url = empty($url) ? null : $url;
     $this->email = empty($email) ? null : $email;
 }
开发者ID:skystebnicki,项目名称:PHPSwaggerGen,代码行数:7,代码来源:Contact.php

示例8: __construct

 public function __construct(DataSourceHandler $datasourceHandler, AbstractQueryRequest $request, $columnName)
 {
     parent::__construct();
     $this->datasourceHandler = $datasourceHandler;
     $this->request = $request;
     $this->columnName = $columnName;
 }
开发者ID:ecs-hk,项目名称:Checkbook,代码行数:7,代码来源:SQL_AbstractPreviousOperatorHandler.php

示例9: __construct

 public function __construct($select, $from, $where, $groupBy, $having) {
     parent::__construct();
     $this->select = $select;
     $this->from = $from;
     $this->where = $where;
     $this->groupBy = $groupBy;
     $this->having = $having;
 }
开发者ID:reisystems-india,项目名称:GovDashboard-Community,代码行数:8,代码来源:Statement.php

示例10: __construct

 public function __construct(array $data = NULL, $keyColumnNames = NULL, $columnPrefix = NULL, $columnSuffix = NULL)
 {
     parent::__construct();
     $this->keyColumnNames = ArrayHelper::toArray($keyColumnNames);
     $this->columnPrefix = $columnPrefix;
     $this->columnSuffix = $columnSuffix;
     $this->data = $data;
 }
开发者ID:ecs-hk,项目名称:Checkbook,代码行数:8,代码来源:JoinController.php

示例11: __construct

 public function __construct(DateTime $datetime)
 {
     parent::__construct();
     if ($datetime === FALSE) {
         throw new IllegalArgumentException(t('Invalid date and/or time value'));
     }
     $this->datetime = $datetime;
 }
开发者ID:ecs-hk,项目名称:Checkbook,代码行数:8,代码来源:DateDataTypeHandler.php

示例12: __construct

 public function __construct($prefix, CacheHandler $handler, $allowCopyInLocalCache)
 {
     parent::__construct();
     $this->prefix = $prefix;
     $this->handler = $handler;
     if ($allowCopyInLocalCache) {
         $this->localCacheHandler = new InMemoryCacheHandler($prefix);
     }
 }
开发者ID:ecs-hk,项目名称:Checkbook,代码行数:9,代码来源:ProxyCacheHandler.php

示例13: __construct

 public function __construct(AbstractObject $parent, $data, $required = false)
 {
     parent::__construct($parent);
     $type = self::words_shift($data);
     $this->name = self::words_shift($data);
     $this->description = $data;
     $this->required = (bool) $required;
     $this->schema = new Schema($this, $type);
 }
开发者ID:skystebnicki,项目名称:PHPSwaggerGen,代码行数:9,代码来源:BodyParameter.php

示例14: __construct

 public function __construct($attributes_)
 {
     parent::__construct($attributes_);
     if (!$this->is_valid()) {
         return;
     }
     $this->id = $attributes_['id'];
     $this->status = $attributes_['status'];
 }
开发者ID:bloveing,项目名称:openulteo,代码行数:9,代码来源:Session.class.php

示例15: __construct

 public function __construct(AbstractObject $parent, $type, $description = null)
 {
     parent::__construct($parent);
     $this->type = strtolower($type);
     if (!in_array($this->type, array('string', 'number', 'integer', 'boolean', 'array'))) {
         throw new \SwaggerGen\Exception('Header type not valid: ' . $type);
     }
     $this->description = $description;
 }
开发者ID:skystebnicki,项目名称:PHPSwaggerGen,代码行数:9,代码来源:Header.php


注:本文中的AbstractObject::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。