本文整理汇总了PHP中entity::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP entity::__construct方法的具体用法?PHP entity::__construct怎么用?PHP entity::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类entity
的用法示例。
在下文中一共展示了entity::__construct方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct(\field_ident $id_role, \field_string $name, \field_numeric $permissions)
{
parent::__construct();
$this->id_role = $id_role;
$this->name = $name;
$this->permissions = $permissions;
}
示例2: __construct
public function __construct(\field_ident $id_category_post, \field_foreignkey $id_category, \field_foreignkey $id_post)
{
parent::__construct();
$this->id_category_post = $id_category_post;
$this->id_category = $id_category;
$this->id_post = $id_post;
}
示例3: __construct
public function __construct(\field_ident $id_tag_post, \field_foreignkey $id_tag, \field_foreignkey $id_post)
{
parent::__construct();
$this->id_tag_post = $id_tag_post;
$this->id_tag = $id_tag;
$this->id_post = $id_post;
}
示例4: __construct
public function __construct(\field_ident $id_tag, \field_string $name, \field_url_rewriting $url)
{
parent::__construct();
$this->id_tag = $id_tag;
$this->name = $name;
$this->url = $url;
}
示例5: __construct
public function __construct(\field_ident $id_category, \field_string $name, \field_foreignkey $id_parent, \field_url_rewriting $url, \field_textarea $description)
{
parent::__construct();
$this->id_category = $id_category;
$this->name = $name;
$this->id_parent = $id_parent;
$this->url = $url;
$this->description = $description;
}
示例6: __construct
public function __construct(\field_ident $id_user, \field_string $pseudo, \field_mail $mail, \field_password $pass, \field_date $registration, \field_boolean $state, \field_foreignkey $id_role)
{
parent::__construct();
$this->id_user = $id_user;
$this->pseudo = $pseudo;
$this->mail = $mail;
$this->pass = $pass;
$this->registration = $registration;
$this->state = $state;
$this->id_role = $id_role;
}
示例7: __construct
public function __construct(\field_ident $id_comment, \field_foreignkey $id_post, \field_string $author, \field_string $author_url, \field_mail $author_email, \field_textarea $content, \field_state $status, \field_user $id_user, \field_foreignkey $id_parent, \field_state $type, \field_ip $author_ip, \field_date $date)
{
parent::__construct();
$this->id_comment = $id_comment;
$this->id_post = $id_post;
$this->author = $author;
$this->author_url = $author_url;
$this->author_email = $author_email;
$this->content = $content;
$this->status = $status;
$this->id_user = $id_user;
$this->id_parent = $id_parent;
$this->type = $type;
$this->author_ip = $author_ip;
$this->date = $date;
}
示例8: __construct
public function __construct(\field_ident $id_post, \field_textarea $title, \field_url_rewriting $url, \field_wysiwyg $content, \field_textarea $excerpt, \field_publication $publicationGMT, \field_user $author, \field_formasso $tag, \field_formasso $category, \field_boolean $has_comment, \field_boolean $ping_status, \field_boolean $is_sticky)
{
parent::__construct();
$this->id_post = $id_post;
$this->title = $title;
$this->url = $url;
$this->content = $content;
$this->excerpt = $excerpt;
$this->publicationGMT = $publicationGMT;
$this->author = $author;
$this->tag = $tag;
$this->category = $category;
$this->has_comment = $has_comment;
$this->ping_status = $ping_status;
$this->is_sticky = $is_sticky;
}