Author: Brandon Wamboldt (brandon.wamboldt@gmail.com)
Inheritance: implements WordPress\ORM\ModelInterface
コード例 #1
0
ファイル: Comment.php プロジェクト: brandonwamboldt/wp-orm
 /**
  * Convert complex objects to strings to insert into the database.
  *
  * @param  array $props
  * @return array
  */
 public function flatten_props($props)
 {
     unset($props['meta']);
     return parent::flatten_props($props);
 }
コード例 #2
0
ファイル: WPML_Mail.php プロジェクト: ROMB/wp-mail-logging
 /**
  * @var string
  */
 public function __construct(array $properties = array())
 {
     parent::__construct($properties);
 }