/**
  * Link to the parent model
  * @return string
  */
 public function getLink()
 {
     return ModelHelper::getLink($this->model_class, $this->model_id);
 }
 /**
  * @return string
  */
 public function getLink()
 {
     return ModelHelper::getLink($this->parent_class, $this->parent_id, []);
 }
Пример #3
0
 /**
  * Gets link to logged model
  * @param array $options
  * @return string
  */
 public function getLink($options = [])
 {
     return ModelHelper::getLink($this->model_name, $this->model_id, $options);
 }