#40 ✓resolved

feedable: move to behavior

Reported by dogmatic69 | December 31st, 2009 @ 12:31 AM | in 0.5 alpha (core)

from ceeram

class FeedableBehavior extends ModelBehavior {

/* * @param object $Model Model using the behavior * @param array $settings Settings to override for model. * @access public * @return void /

function setup(&$Model, $config = null) {
    $Model->_findMethods = array_merge($Model->_findMethods, array('feed'=>true));
    if (is_array($config)) {
        $this->settings[$Model->alias] = array_merge($this->_defaults, $config);            
    } else {
        $this->settings[$Model->alias] = $this->_defaults;

function _findFeed($state, $query, $results = array()){



Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Please use this for the current version of Infinitas only, if you are using a older version of the Infinitas report bugs in that project.

Please submit bugs only as pending, and if its a feature request submit the ticket with the milestone "Feature Requests".

Shared Ticket Bins

People watching this ticket