public function canGetProperty($name)
{
if (method_exists($this, 'get' . $name) || method_exists($this, 'getjs' . $name)) {
return true;
} else {
if ($this->_m !== null && $this->_behaviorsenabled) {
foreach ($this->_m->toArray() as $behavior) {
if ((!$behavior instanceof IBehavior || $behavior->getEnabled()) && $behavior->canGetProperty($name)) {
return true;
}
}
}
}
return false;
}