Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Тимофей Семененко / shold.dev5.ashmanov.com

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • shold.dev5.ashmanov.com
  • lib
  • SH
  • Entities
  • Partner.class.php
  • root's avatar
    first · 6e62e315
    root committed Jul 28, 2017
    6e62e315
Partner.class.php 418 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php

namespace SH\Entities;


class Partner extends \Cpeople\Classes\Block\Object
{
    use \Sh\Traits\FunctionName;

    function getText()
    {
        return $this->{'~PREVIEW_TEXT'};
    }

    function getLink()
    {
        return $this->getPropValue('LINK') ? getUrlLink($this->getPropValue('LINK')) : false;
    }

    function getPartnersTypeIds()
    {
        return $this->getPropValue('TYPE');
    }
}