示例#1
0
 public function processForm($page_id, $values)
 {
     $properties = new PagesProperties(array(PagesProperties::KEY => $page_id));
     $properties->setProperty('sources', serialize($values['sources']));
     $properties->setProperty('types', serialize($values['types']));
     $properties->setProperty('sources_filter', $values['sources_filter']);
 }
示例#2
0
 public function processForm($page_id, $values)
 {
     $properties = new PagesProperties(array(PagesProperties::KEY => $page_id));
     $properties->setProperty('url', $values['url']);
 }