feedable: move to behavior
Reported by dogmatic69 | December 31st, 2009 @ 12:31 AM | in 0.5 alpha (core)
from ceeram
<?php
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
-
ronin-79226 (at lighthouseapp) January 5th, 2010 @ 06:38 PM
- Assigned user changed from dogmatic69 to ronin-79226 (at lighthouseapp)
-
dogmatic69 January 5th, 2010 @ 07:54 PM
something for the display of feeds
http://tutorialzine.com/2010/01/advanced-event-timeline-with-php-cs...
-
dogmatic69 January 6th, 2010 @ 05:35 AM
- State changed from open to resolved
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.
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".