PHP 클래스 Knp\Bundle\KnpBundlesBundle\Twig\Extension\BundleUtilsExtension

상속: extends Twig_Extension
파일 보기 프로젝트 열기: KnpLabs/KnpBundles

공개 메소드들

메소드 설명
bundleActivity ( mixed $lastCommitAt ) : string Get bundle activity title by days number after last commit
bundleActivityIcon ( string $activityType ) : string
bundleActivityMessage ( Activity $activity, string $type = 'long' ) : string
bundleGithubUrl ( Bundle $bundle, $urlType = 'http' )
bundlePackagistUrl ( Bundle $bundle )
bundleStateTooltip ( string $state ) : string Display help message about bundle state
bundleTravisUrl ( Bundle $bundle )
getFilters ( ) : array
getFunctions ( ) : array
getName ( ) : string Returns the name of the extension.

메소드 상세

bundleActivity() 공개 메소드

Get bundle activity title by days number after last commit
public bundleActivity ( mixed $lastCommitAt ) : string
$lastCommitAt mixed
리턴 string

bundleActivityIcon() 공개 메소드

public bundleActivityIcon ( string $activityType ) : string
$activityType string
리턴 string

bundleActivityMessage() 공개 메소드

public bundleActivityMessage ( Activity $activity, string $type = 'long' ) : string
$activity Knp\Bundle\KnpBundlesBundle\Entity\Activity
$type string
리턴 string

bundleGithubUrl() 공개 메소드

public bundleGithubUrl ( Bundle $bundle, $urlType = 'http' )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

bundlePackagistUrl() 공개 메소드

public bundlePackagistUrl ( Bundle $bundle )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

bundleStateTooltip() 공개 메소드

Display help message about bundle state
public bundleStateTooltip ( string $state ) : string
$state string
리턴 string

bundleTravisUrl() 공개 메소드

public bundleTravisUrl ( Bundle $bundle )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

getFilters() 공개 메소드

public getFilters ( ) : array
리턴 array

getFunctions() 공개 메소드

public getFunctions ( ) : array
리턴 array

getName() 공개 메소드

Returns the name of the extension.
public getName ( ) : string
리턴 string The extension name