Ejemplo n.º 1
0
 /**
  * Set JqueryUI Theme
  *
  * @param string
  * @return this
  */
 public function setTheme($theme)
 {
     Jquery_Block_Error::i()->argument(1, 'string');
     $this->_theme = $theme;
     return $this;
 }
Ejemplo n.º 2
0
 /**
  * Returns panel block
  *
  * @param string
  * @param string|bool
  * @param string|bool
  * @param string|bool
  * @param string|bool
  * @param string
  * @return Jquery_Block_Panel
  */
 public function panel($center, $north = false, $south = false, $east = false, $west = false, $theme = 'default')
 {
     Jquery_Block_Error::i()->argument(1, 'string')->argument(2, 'string', 'bool')->argument(3, 'string', 'bool')->argument(4, 'string', 'bool')->argument(5, 'string', 'bool')->argument(6, 'string');
     return $this->Jquery_Block_Panel($center, $north, $south, $east, $west)->setTheme($theme);
 }
Ejemplo n.º 3
0
 /**
  * This Block has pagination we need to pass in the url
  *
  * @param array
  * @return this
  */
 public function setUrl($url)
 {
     Jquery_Block_Error::i()->argument(1, 'string');
     $this->_url = $url;
     return $this;
 }
Ejemplo n.º 4
0
 /**
  * Sets class for each page link
  *
  * @param array
  * @return this
  */
 public function setClass($class)
 {
     Jquery_Block_Error::i()->argument(1, 'string');
     $this->_class = $class;
     return $this;
 }