Пример #1
0
 /**
  * Constructor.
  * @param TControl the control originally raises the <b>OnCommand</b> event.
  * @param integer new page index
  */
 public function __construct($source, $newPageIndex)
 {
     parent::__construct();
     $this->_source = $source;
     $this->_newIndex = $newPageIndex;
 }
Пример #2
0
 /**
  * Constructor.
  * @param integer new page index
  * @param integer offset of the first item in the new page
  * @param integer number of items in the new page desired
  */
 public function __construct($pageIndex, $offset, $limit)
 {
     parent::__construct();
     $this->_pageIndex = $pageIndex;
     $this->_offset = $offset;
     $this->_limit = $limit;
 }
Пример #3
0
 /**
  * Constructor.
  * @param TControl DataList item related with the corresponding event
  */
 public function __construct($item)
 {
     parent::__construct();
     $this->_item = $item;
 }
Пример #4
0
 public function __construct($command, $criteria)
 {
     parent::__construct();
     $this->_command = $command;
     $this->_criteria = $criteria;
 }
Пример #5
0
 public function __construct($dropParams)
 {
     parent::__construct();
     $this->_dragElementId = $dropParams->DragElementID;
     $this->_screenX = $dropParams->ScreenX;
     $this->_screenY = $dropParams->ScreenY;
     $this->_offsetX = isset($dropParams->OffsetX) ? $dropParams->OffsetX : false;
     $this->_offsetY = isset($dropParams->OffsetY) ? $dropParams->OffsetY : false;
     $this->_clientX = $dropParams->ClientX;
     $this->_clientY = $dropParams->ClientY;
     $this->_shiftKey = TPropertyValue::ensureBoolean($dropParams->ShiftKey);
     $this->_ctrlKey = TPropertyValue::ensureBoolean($dropParams->CtrlKey);
     $this->_altKey = TPropertyValue::ensureBoolean($dropParams->AltKey);
 }
Пример #6
0
 /**
  * Constructor.
  * @param string property value to be validated
  * @param boolean whether the value is valid
  */
 public function __construct($value, $isValid)
 {
     parent::__construct();
     $this->_value = $value;
     $this->setIsValid($isValid);
 }
Пример #7
0
 /**
  * Constructor.
  * @param string name of the command
  * @param string parameter of the command
  */
 public function __construct($name = '', $parameter = '')
 {
     parent::__construct();
     $this->_name = $name;
     $this->_param = $parameter;
 }
Пример #8
0
 /**
  * Constructor.
  * @param integer X coordinate of the clicking point
  * @param integer Y coordinate of the clicking point
  */
 public function __construct($x, $y)
 {
     parent::__construct();
     $this->_x = $x;
     $this->_y = $y;
 }
Пример #9
0
 /**
  * Constructor.
  * @param integer index of the item clicked
  */
 public function __construct($index)
 {
     parent::__construct();
     $this->_index = $index;
 }
Пример #10
0
 /**
  * Holds the parameters for the Class Behavior Events
  *	@param string $class this is the class to get the behavior
  *	@param string $name the name of the behavior
  *	@param object $behavior this is the behavior to implement the class behavior
  */
 public function __construct($path)
 {
     parent::__construct();
     $this->_path = $path;
 }
Пример #11
0
 /**
  * Constructor.
  * @param string post back value associated with the hotspot clicked
  */
 public function __construct($postBackValue)
 {
     parent::__construct();
     $this->_postBackValue = $postBackValue;
 }