Archivo Fuente:
/opt/lampp/htdocs/sistemas/framework/db/ar/CActiveRecord.php(434)
00422: */
00423: public function __get($name)
00424: {
00425: if(isset($this->_attributes[$name]))
00426: return $this->_attributes[$name];
00427: else if(isset($this->getMetaData()->columns[$name]))
00428: return null;
00429: else if(isset($this->_related[$name]))
00430: return $this->_related[$name];
00431: else if(isset($this->getMetaData()->relations[$name]))
00432: return $this->getRelated($name);
00433: else
00434: return parent::__get($name);
00435: }
00436:
00437: /**
00438: * PHP setter magic method.
00439: * This method is overridden so that AR attributes can be accessed like properties.
00440: * @param string property name
00441: * @param mixed property value
00442: */
00443: public function __set($name,$value)
00444: {
00445: if($this->setAttribute($name,$value)===false)
00446: {
Stack Trace
#0 /opt/lampp/htdocs/sistemas/framework/db/ar/CActiveRecord.php(434): CComponent->__get(‘cantidad’)
#1 /opt/lampp/htdocs/sistemas/framework/base/CModel.php(601): CActiveRecord->__get(‘cantidad’)
#2 /opt/lampp/htdocs/sistemas/protected/modules/profesionales/views/v_regprof_listado/admin.php(57): CModel->offsetGet(‘cantidad’)
#3 /opt/lampp/htdocs/sistemas/framework/web/CBaseController.php(119): require(’/opt/lampp/htdo…’)
#4 /opt/lampp/htdocs/sistemas/framework/web/CBaseController.php(88): CBaseController->renderInternal(’/opt/lampp/htdo…’, Array, true)
#5 /opt/lampp/htdocs/sistemas/framework/web/CController.php(706): CBaseController->renderFile(’/opt/lampp/htdo…’, Array, true)
#6 /opt/lampp/htdocs/sistemas/framework/web/CController.php(645): CController->renderPartial(‘admin’, Array, true)
#7 /opt/lampp/htdocs/sistemas/protected/modules/profesionales/controllers/V_regprof_listadoController.php(296): CController->render(‘admin’, Array)
#8 /opt/lampp/htdocs/sistemas/framework/web/actions/CInlineAction.php(32): V_regprof_listadoController->actionAdmin()
#9 /opt/lampp/htdocs/sistemas/framework/web/CController.php(300): CInlineAction->run()
#10 /opt/lampp/htdocs/sistemas/framework/web/filters/CFilterChain.php(129): CController->runAction(Object(CInlineAction))
#11 /opt/lampp/htdocs/sistemas/framework/web/filters/CFilter.php(41): CFilterChain->run()
#12 /opt/lampp/htdocs/sistemas/framework/web/CController.php(957): CFilter->filter(Object(CFilterChain))
#13 /opt/lampp/htdocs/sistemas/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
#14 /opt/lampp/htdocs/sistemas/framework/web/filters/CFilterChain.php(126): CInlineFilter->filter(Object(CFilterChain))
#15 /opt/lampp/htdocs/sistemas/framework/web/CController.php(283): CFilterChain->run()
#16 /opt/lampp/htdocs/sistemas/framework/web/CController.php(257): CController->runActionWithFilters(Object(CInlineAction), Array)
#17 /opt/lampp/htdocs/sistemas/framework/web/CWebApplication.php(310): CController->run(‘admin’)
#18 /opt/lampp/htdocs/sistemas/framework/web/CWebApplication.php(120): CWebApplication->runController(‘profesionales/v…’)
#19 /opt/lampp/htdocs/sistemas/framework/base/CApplication.php(135): CWebApplication->processRequest()
#20 /opt/lampp/htdocs/sistemas/index.php(13): CApplication->run()
#21 {main}