当前位置: 首页>>代码示例>>PHP>>正文


PHP entity::__construct方法代码示例

本文整理汇总了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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:7,代码来源:role.php

示例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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:7,代码来源:category_post.php

示例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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:7,代码来源:tag_post.php

示例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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:7,代码来源:tag.php

示例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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:9,代码来源:category.php

示例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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:11,代码来源:user.php

示例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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:16,代码来源:comment.php

示例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;
 }
开发者ID:saitinet,项目名称:parsimony,代码行数:16,代码来源:post.php


注:本文中的entity::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。