Exemple #1
0
 function setState($key, $value)
 {
     $this->session->set($key, $value);
 }
 /**
  * This property holds the name of the organization that wrote this 
  * application.<br />
  * The value is used by the MSettings class when it is constructed using the 
  * empty constructor. This saves having to repeat this information each time 
  * a MSettings object is created.
  * 
  * @param string $orgName
  */
 public static function setOrganizationName($orgName)
 {
     MSession::set(MCoreApplication::ORGANIZATION_NAME, $orgName);
 }