コード例 #1
0
 function SJB_ImportedUserProcessor($input_data, $user)
 {
     $this->user_group = $user->getUserGroupSID();
     $this->properties_names = $input_data;
     $tree_parser = new SJB_TreeParser($this->properties_names);
     $this->tree_columns = $tree_parser->getTreeColumns();
     $this->_unsetTreeColumnsNames($tree_parser->columns);
     $this->properties_values = $input_data;
 }
コード例 #2
0
 function SJB_ImportedDataProcessor($input_data, $listing)
 {
     $this->listing_type = $listing->getListingTypeSID();
     $this->properties_names = $input_data;
     $tree_parser = new SJB_TreeParser($this->properties_names);
     $this->tree_columns = $tree_parser->getTreeColumns();
     $this->_unsetTreeColumnsNames($tree_parser->columns);
     $this->properties_values = $input_data;
     $this->pictures_key = array_search('pictures', $this->properties_names);
     if ($this->pictures_key !== false) {
         $this->_setPicturesPath();
     }
 }
コード例 #3
0
ファイル: CountriesManager.php プロジェクト: Maxlander/shixi
 public function __construct($inputData, $country)
 {
     $this->propertiesNames = array_shift($inputData);
     $tree_parser = new SJB_TreeParser($this->propertiesNames);
     $this->treeColumns = $tree_parser->getTreeColumns();
     $this->_unsetTreeColumnsNames($tree_parser->columns);
     $this->propertiesValues = $inputData;
     $this->propertiesQuantity = count($this->propertiesValues);
 }