예제 #1
0
파일: rb.php 프로젝트: tejdeeps/tejcs.com
 /**
  * Part of RedBeanPHP Tagging API.
  * Adds tags to a bean.
  * If $tagList is a comma separated list 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 array				$tagList list of tags to add to bean
  *
  * @return void
  */
 public static function addTags(RedBean_OODBBean $bean, $tagList)
 {
     return self::$tagManager->addTags($bean, $tagList);
 }
 /**
  * Part of RedBeanPHP Tagging API.
  * Adds tags to a bean.
  * If $tagList is a comma separated list 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 array            $tagList list of tags to add to bean
  *
  * @return void
  */
 public function addTags(RedBean_OODBBean $bean, $tagList)
 {
     $this->tagManager->addTags($bean, $tagList);
 }