Skip to content

Instantly share code, notes, and snippets.

@jawngee
Created July 1, 2009 05:57
Show Gist options
  • Save jawngee/138619 to your computer and use it in GitHub Desktop.
Save jawngee/138619 to your computer and use it in GitHub Desktop.
<?php
uses("system.app.serializable");
/**
* Represents a CMS site
*
* [[
* serializer: { node: 'site', config: 'cms/serializer' }
* ]]
*/
class CMSSite implements ISerializable
{
/**
* ID of the site.
*/
public $id='';
/**
* Owner of the site.
*/
public $owner=null;
/**
* Site's theme
*/
public $theme=null;
/**
* Site's pages
*/
public $pages=array();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment