/**
  * Clear the instance pool.
  *
  * @return     void
  */
 public static function clearInstancePool()
 {
     self::$instances = array();
 }
Exemplo n.º 2
0
     * Returns an array of arrays that contain columns in each unique index.
     *
     * @return array
     */
    public static function getUniqueColumnNames()
    {
        return array();
    }
    // symfony_behaviors behavior
    /**
     * Returns the name of the hook to call from inside the supplied method.
     *
     * @param string $method The calling method
     *
     * @return string A hook name for {@link sfMixer}
     *
     * @throws LogicException If the method name is not recognized
     */
    private static function getMixerPreSelectHook($method)
    {
        if (preg_match('/^do(Select|Count)(Join(All(Except)?)?|Stmt)?/', $method, $match)) {
            return sprintf('BaseProductoPeer:%s:%1$s', 'Count' == $match[1] ? 'doCount' : $match[0]);
        }
        throw new LogicException(sprintf('Unrecognized function "%s"', $method));
    }
}
// BaseProductoPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseProductoPeer::buildTableMap();