Exemplo n.º 1
0
 /**
  * @return string
  */
 public function HTML()
 {
     return '<style type="text/css">@font-face {src: url(' . Quark::NormalizePath(str_replace(Quark::Host(), '', Quark::NormalizePath($this->_font, false)), false) . ');font-family: ' . $this->_family . ';}</style>';
 }
Exemplo n.º 2
0
 /**
  * @param string $name
  * @param string $id
  *
  * @return QuarkFile
  */
 private static function _storage($name, $id)
 {
     return new QuarkFile(Quark::Host() . '/' . Quark::Config()->Location(QuarkConfig::RUNTIME) . '/Session/' . $name . '/' . $name . '-' . $id . '.sid');
 }
Exemplo n.º 3
0
 /**
  * @return QuarkURI
  */
 public static function LocalFS()
 {
     return QuarkURI::FromURI(Quark::Host(), false);
 }