我有以下数组 故障单对象([_ new:CActiveRecord:private] => [_属性:CActiveRecord:private] =>数组([TicketId] => 00002 [TicketTitle] => testone [TicketOwner] => 70 [ClientCompanyName] = > Hidden Oasis [ClientFirstName] => Brenda& David [ClientLastName] => Kilby [ClientAdminEmail] => manager@hiddenoasisrv.com [ClientPhone] =>(928)765-2341 [SupportLevel] => bronze [SupportIssue] =>应用程序错误[HoursPurchased] => 2 [HoursBalanceAvailable] => 2 [TicketReviewedBy] => rezsys [TicketStatus] =>打开[TicketStartDate] => 2009-08-29 21: 25:00 [TicketClosedDate] => 2009-08-29 21:25:00 [TicketLastModified] => 2009-08-29 21:25:00 [TimeOfPhoneSupport] => AM)[_ alllated:CActiveRecord:private] => Array()[_ c:CActiveRecord:private] => [_pk:CActiveRecord:private] => 00002 [_alias:CActiveRecord:private] => t [_errors:CModel:private] =>数组( )[_validators:CModel:private] => [_scenario:CModel:private] => update [_ e:CComponent:private] => [_m:CComponent:private] => )
如何获取" TicketTitle"从上面的数组?
$Criteria = new CDbCriteria();
$open = Ticket::model()->findByAttributes(array('TicketStatus'=>$status));
print_r($open);