Skip to content

Instantly share code, notes, and snippets.

Kévin Gomez K-Phoen

Block or report user

Report or block K-Phoen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2786447
<?php
class BookQuery extends BaseBookQuery
{
public function recent($nb_max = 5)
{
return $this
->orderByPublishedAt('desc')
->limit($nb_max);
}
View gist:873295
; behaviors
propel.behavior.default = symfony,symfony_i18n
;propel.behavior.symfony.class = plugins.sfPropelPlugin.lib.behavior.SfPropelBehaviorSymfony
propel.behavior.symfony_i18n.class = plugins.sfPropelPlugin.lib.behavior.SfPropelBehaviorI18n
propel.behavior.symfony_i18n_translation.class = plugins.sfPropelPlugin.lib.behavior.SfPropelBehaviorI18nTranslation
propel.behavior.symfony_behaviors.class = plugins.sfPropelPlugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
propel.behavior.symfony_timestampable.class = plugins.sfPropelPlugin.lib.behavior.SfPropelBehaviorTimestampable
View gist:873245
<?php
/**
* Base class that represents a row from the 'poc' table.
*
*
*
* This class was autogenerated by Propel 1.5.6 on:
*
View gist:873239
Poc:
test:
message: Message
author: Kevin
plus: 12
minus: 1
created_at: 2011-10-10
You can’t perform that action at this time.