Exemplo n.º 1
0
 /**
  * @param string $entityType
  * @param string $slugString
  * @return OASEO_BOL_Slug
  */
 public function findActiveSlugForInactiveOne($entityType, $slugString)
 {
     $oldSlug = $this->slugDao->findOldSlug($entityType, $slugString);
     if ($oldSlug !== null) {
         return $this->slugDao->findActiveSlugForEntityItem($entityType, $oldSlug->getEntityId());
     }
 }