PHP Trait HelperTrait

Afficher le fichier Open project: phalcon/forum

Méthodes publiques

Méthode Description
amAdmin ( array $attributes = null ) : integer Creates an admin user and return it id
amRegularUser ( array $attributes = null ) : integer Creates a random user and return it id
haveCategory ( array $attributes = null ) : integer Creates a random category and return its id
havePost ( array $attributes = null ) : integer Creates a random post and return its id
havePostHistory ( array $attributes = null ) : integer Creates a random post history and return its id
haveReply ( array $attributes = null ) : integer Creates a random post reply and return its id

Method Details

amAdmin() public méthode

Creates an admin user and return it id
public amAdmin ( array $attributes = null ) : integer
$attributes array Model attributes [Optional]
Résultat integer

amRegularUser() public méthode

Creates a random user and return it id
public amRegularUser ( array $attributes = null ) : integer
$attributes array Model attributes [Optional]
Résultat integer

haveCategory() public méthode

Creates a random category and return its id
public haveCategory ( array $attributes = null ) : integer
$attributes array Model attributes [Optional]
Résultat integer

havePost() public méthode

Creates a random post and return its id
public havePost ( array $attributes = null ) : integer
$attributes array Model attributes [Optional]
Résultat integer

havePostHistory() public méthode

Creates a random post history and return its id
public havePostHistory ( array $attributes = null ) : integer
$attributes array Model attributes [Optional]
Résultat integer

haveReply() public méthode

Creates a random post reply and return its id
public haveReply ( array $attributes = null ) : integer
$attributes array Model attributes [Optional]
Résultat integer