$getter='get'.$name;
if(method_exists($this,$getter))
return $this->$getter();
else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
$setter='set'.$name;
if(method_exists($this,$setter))
return $this->$setter($value);
return $this->$getter()!==null;
else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
$setter='set'.$name;
if(method_exists($this,$setter))
$this->$setter(null);
else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
}
else if(method_exists($this,'get'.$name))
{
if($object->getEnabled() && method_exists($object,$name))
$setter='set'.$name;
if(method_exists($this,$setter))
return $this->$setter($value);
else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
}
if(method_exists($this,'get'.$name))
}
else if(method_exists($this,'get'.$name))
{
if($object->getEnabled() && method_exists($object,$name))
{
return method_exists($this,'get'.$name) || method_exists($this,'set'.$name);
{
return method_exists($this,'get'.$name);
{
return method_exists($this,'set'.$name);
//then skip creation of duplicate, because it is not needed by addImagePng
if ( method_exists( $this->_canvas, "get_cpdf" ) &&
method_exists( $this->_canvas->get_cpdf(), "addImagePng" ) &&
method_exists( $this->_canvas->get_cpdf(), "image_iscached" ) &&
$this->_canvas->get_cpdf()->image_iscached($filedummy) ) {
//don't create temp file, but place gd object directly into the pdf
if ( !$is_png && method_exists( $this->_canvas, "get_cpdf" ) &&
method_exists( $this->_canvas->get_cpdf(), "addImagePng" ) ) {
// Note: CPDF_Adapter image converts y position
$method = 'get'.str_replace('_', '', $name);
if (method_exists($this, $method))
$method = 'set'.str_replace('_', '', $name);
if (method_exists($this, $method))
$method = 'get'.str_replace('_', '', $name);
if (method_exists($this, $method))
$method = 'set'.str_replace('_', '', $name);
if (method_exists($this, $method))
}
if (!method_exists($this->__info["model"],$method)) return null;
public static function related( RedBean_OODBBean $bean, $type, $sql=null, $values=array()) {
if (empty($values) && $sql && method_exists(self::$writer,"__fastSelectCritRelated") && !isset($noFearlessCode)) {
$beanModel = new $modelName;
if (!method_exists($beanModel,$action)) return $this->resp(null, $id, -32601,"Method not found in Bean: $beanType ");
$actionID=$this->defaultAction;
if(method_exists($this,'action'.$actionID) && strcasecmp($actionID,'s')) // we have actions method
$action=$this->createActionFromMap($this->actions(),$actionID,$actionID);
if($action!==null && !method_exists($action,'run'))
$this->recordCachingAction('','renderDynamicInternal',array($callback,$params));
if(is_string($callback) && method_exists($this,$callback))