Beispiel #1
0
 /**
  * Part of RedBeanPHP Tagging API.
  * Tags a bean or returns tags associated with a bean.
  * If $tagList is null or omitted this method will return a
  * comma separated list of tags associated with the bean provided.
  * If $tagList is a comma separated list (string) of tags all tags will
  * be associated with the bean.
  * You may also pass an array instead of a string.
  *
  * @param RedBean_OODBBean $bean    bean
  * @param mixed				$tagList tags
  *
  * @return string $commaSepListTags
  */
 public static function tag(RedBean_OODBBean $bean, $tagList = null)
 {
     return self::$tagManager->tag($bean, $tagList);
 }
 /**
  * Part of RedBeanPHP Tagging API.
  * Tags a bean or returns tags associated with a bean.
  * If $tagList is NULL or omitted this method will return a
  * comma separated list of tags associated with the bean provided.
  * If $tagList is a comma separated list (string) of tags all tags will
  * be associated with the bean.
  * You may also pass an array instead of a string.
  *
  * @param RedBean_OODBBean $bean    bean
  * @param mixed            $tagList tags
  *
  * @return string
  */
 public function tag(RedBean_OODBBean $bean, $tagList = NULL)
 {
     return $this->tagManager->tag($bean, $tagList);
 }