array( 'type' => 'int', 'col' => 'id_societe', 'form' => 'idSociete', ), 'Nom' => array( 'type' => 'text', 'col' => 'nom_societe', 'form' => 'nomSociete', 'label' => true, 'order' => true, ), 'PathExtranet' => array( 'type' => 'text', 'col' => 'path_extranet', ), 'eMailMaster' => array( 'type' => 'ext-object', 'class' => 'eMailMaster', 'form' => 'accounteMailMaster', ), 'Extra_User' => array( 'type' => 'ext-object', 'class' => 'Extra_User', ), 'Extra_Tool_Link' => array( 'type' => 'ext-object', 'class' => 'Extra_Tool_Link', ), 'Extra_Operation' => array( 'type' => 'ext-object', 'class' => 'Extra_Operation', ), ); function getProperties() { return self::$properties; } function Save() { if ($this->Id == 0) { $this->PathExtranet = File_Util::webName($this->Nom).'/'; @mkdir(EXTRA_PATH_WEB.$this->PathExtranet); exec ('chmod -R 775 '.$this->Path); } parent::Save(); } } ?>