예제 #1
0
파일: Node.php 프로젝트: netixx/Stock
 /**
  * @param  array   $data
  * @param  boolean $fromDataSource
  * @throws Zend_Ldap_Exception
  */
 protected function _loadData(array $data, $fromDataSource)
 {
     parent::_loadData($data, $fromDataSource);
     if ($fromDataSource === true) {
         $this->_originalData = $data;
     } else {
         $this->_originalData = array();
     }
     $this->_children = null;
     $this->_markAsNew($fromDataSource === true ? false : true);
     $this->_markAsToBeDeleted(false);
 }