model/entity/activity.php
protected function _getConfig($object)
    {
        $config = new KObjectConfig();

        $method = '_' . strtolower($object) . 'Config';

        // Call config setter if any.
        if (method_exists($this, $method)) {
            $this->$method($config);
        }

        return $config;
    }
protected function _getConfig($object)
    {
        $config = new KObjectConfig();

        $method = '_' . strtolower($object) . 'Config';

        // Call config setter if any.
        if (method_exists($this, $method)) {
            $this->$method($config);
        }

        return $config;
    }
protected function _getConfig ( $ object ) { $ config = new KObjectConfig ( ) ; $ method = '_' . strtolower ( $ object ) . 'Config' ; // Call config setter if any. if ( method_exists ( $ this , $ method ) ) { $ this -> $ method ( $ config ) ; } return $ config ; }
Get an activity object config.

@param string $object The object name.
@return KObjectConfig
Get an activity object config .