setTaxonomy() публичный Метод

public setTaxonomy ( Taxonomy $taxonomy )
$taxonomy Bolt\Storage\Collection\Taxonomy
Пример #1
0
 /**
  * Set valid POST taxonomies.
  *
  * @param Content    $content
  * @param array|null $formValues
  */
 private function setPostedTaxonomies(Content $content, $formValues)
 {
     if (!isset($formValues['taxonomy'])) {
         return;
     }
     $content->setTaxonomy($formValues['taxonomy']);
 }