示例#1
0
 /**
  * 2016-07-18
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__GUEST, DF_V_BOOL)->_prop(self::$P__QUOTE_ID, DF_V_STRING_NE);
 }
示例#2
0
文件: A.php 项目: mage2pro/core
 /**
  * 2015-12-30
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__ITEM_CLASS, DF_V_STRING_NE)->_prop(self::$P__ITEMS_A, DF_V_ARRAY);
 }
示例#3
0
文件: Report.php 项目: mage2pro/core
 /**
  * 2016-07-10
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__RESPONSE, Response::class);
 }
示例#4
0
 /**
  * 2016-05-05
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__ID, DF_V_STRING_NE);
 }
示例#5
0
 /**
  * 2015-12-08
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__PARAMS, Params::class);
 }
示例#6
0
文件: Element.php 项目: mage2pro/core
 /**
  * 2015-11-22
  * @override
  * @see \Df\Core\O::_construct()
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__E, AE::class);
 }
示例#7
0
 /**
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__BG_COLOR, DF_V_STRING_NE)->_prop(self::$P__FONT_COLOR, DF_V_STRING_NE)->_prop(self::$P__FONT_SIZE, DF_V_NAT)->_prop(self::$P__HEIGHT, DF_V_NAT)->_prop(self::$P__MARGIN_LEFT, DF_V_NAT0)->_prop(self::$P__WIDTH, DF_V_NAT);
 }
示例#8
0
文件: ListT.php 项目: mage2pro/core
 /**
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__CSS_CLASS_FOR_ITEM, DF_V_STRING, false)->_prop(self::$P__CSS_CLASS_FOR_LIST, DF_V_STRING, false)->_prop(self::$P__IS_ORDERED, DF_V_BOOL, false)->_prop(self::$P__ITEMS, DF_V_ARRAY);
 }
示例#9
0
文件: Select.php 项目: mage2pro/core
 /**
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__ATTRIBUTES, DF_V_ARRAY, false)->_prop(self::$P__OPTIONS, DF_V_ARRAY)->_prop(self::$P__SELECTED, DF_V_STRING, false);
 }
示例#10
0
文件: Entry.php 项目: mage2pro/core
 /**
  * 2016-08-09
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__NAME, DF_V_STRING_NE)->_prop(self::$P__WEIGHT, DF_V_FLOAT, false);
 }
示例#11
0
文件: Tag.php 项目: mage2pro/core
 /**
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__ATTRIBUTES, DF_V_ARRAY, false)->_prop(self::$P__CONTENT, DF_V_STRING, false)->_prop(self::$P__MULTILINE, DF_V_BOOL, false)->_prop(self::$P__TAG, DF_V_STRING_NE);
 }
示例#12
0
文件: Entity.php 项目: mage2pro/core
 /**
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     // параметр PARAM__SIMPLE_XML может быть как объектом, так и строкой.
 }
示例#13
0
 /**
  * 2016-08-30
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__AMOUNT, DF_V_FLOAT, false)->_prop(self::$P__METHOD, Method::class);
 }
示例#14
0
文件: Css.php 项目: mage2pro/core
 /**
  * 2015-12-16
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__PREFIX, DF_V_STRING, false);
 }
示例#15
0
文件: Size.php 项目: mage2pro/core
 /**
  * 2015-12-16
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__UNITS, DF_V_STRING_NE)->_prop(self::$P__VALUE, DF_V_STRING);
 }
示例#16
0
文件: G.php 项目: mage2pro/core
 /**
  * 2016-08-31
  * @override
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_prop(self::$P__CONTENTS, DF_V_ARRAY)->_prop(self::$P__TAG, DF_V_STRING_NE)->_prop(self::P__1251, DF_V_BOOL, false)->_prop(self::P__ATTRIBUTES, DF_V_ARRAY, false)->_prop(self::P__DOC_TYPE, DF_V_STRING, false)->_prop(self::P__DECODE_ENTITIES, DF_V_BOOL, false)->_prop(self::P__PRETTY, DF_V_BOOL, false)->_prop(self::P__REMOVE_LINE_BREAKS, DF_V_BOOL, false)->_prop(self::P__SKIP_HEADER, DF_V_BOOL, false)->_prop(self::P__WRAP_IN_CDATA, DF_V_BOOL, false);
 }