/** * Part of RedBeanPHP Tagging API. * Returns all beans that have been tagged with one of the tags given. * * @param string $beanType type of bean you are looking for * @param array $tagList list of tags to match * @param string $sql additional SQL query snippet * @param array $bindings a list of values to bind to the query parameters * * @return array */ public static function tagged($beanType, $tagList, $sql = '', $bindings = array()) { return self::$tagManager->tagged($beanType, $tagList, $sql, $bindings); }
/** * Part of RedBeanPHP Tagging API. * Returns all beans that have been tagged with one of the tags given. * * @param string $beanType type of bean you are looking for * @param array $tagList list of tags to match * * @return array */ public static function tagged($beanType, $tagList) { return self::$tagManager->tagged($beanType, $tagList); }