Exemplo n.º 1
0
 static function getCompanyOption($companyname)
 {
     $debugoption = new DebugOption();
     $cc = new ConstraintChain();
     $cc->add(new Constraint('username', 'is', 'NULL'));
     $cc->add(new Constraint('company_id', '=', EGS_COMPANY_ID));
     $debugoption->loadBy($cc);
     return $debugoption;
 }